package com.lql.common.util;


import com.lql.common.entity.User;

/**
 * @author wangjian
 * @date 2019/10/10
 */
public class ThreadSysUtil {
    public static ThreadLocal<User> threadLocal = new ThreadLocal<>();

    public static User getUser() {
        return threadLocal.get();
    }

    public static void remove() {
        threadLocal.remove();
    }
}
